<% layout('/layouts/default.html', {title: '任务接收', libs: ['dataGrid']}){ %>
<div class="main-content">
    <div class="box box-main">

        <div class="box-body">
            <#form:form id="searchForm" model="${dcSupTaskActionExplain}" action="${ctx}/audit/taskReceive/getLeaderExplain?actionId=${dcSupTaskActionExplain.actionId}" method="post" class="form-inline"
            data-page-no="${parameter.pageNo}" data-page-size="${parameter.pageSize}" data-order-by="${parameter.orderBy}">
        </#form:form>
        <table id="dataGrid"></table>
        <div id="dataGridPage"></div>
    </div>
</div>
</div>
<% } %>
<script>
    // 初始化DataGrid对象
    $('#dataGrid').dataGrid({
        searchForm: $("#searchForm"),
        sortableColumn: false, // 列表不允许排序
        // showCheckbox: true,
        columnModel: [
            {header:'${text("领导姓名")}', name:'explainName', width:150, align:"center"},
            {header:'${text("批示时间")}', name:'explainTime', width:150, align:"center"},
            {header:'${text("领导批示")}', name:'explainContent', width:150, align:"center"},
        ],
        // 加载成功后执行事件
        ajaxSuccess: function(data){

        }
    });

</script>